<?php

namespace App\Http\Controllers;

use App\Constant\Error;
use App\Models\Apply;
use App\Models\Eticket\Activity;
use App\Models\Permission;
use App\User;
use Cookie;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Redis;

class HomeController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
//        $this->middleware('auth');
    }

    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
    public function index(Request $request)
    {

    }

    public function test()
    {
        var_dump(getUser()->can('stage.1'));
    }
}
